package com.corpgovernment.costcenter.model;

import com.corpgovernment.api.ordercenter.dto.annotation.ExcelColumn;
import com.corpgovernment.organization.entity.db.MbOrgInfo;
import lombok.Data;

import java.util.Date;
import java.util.List;
import java.util.Map;

@Data
public class CostCenterUploadExcelInfo {

    List<CostCenterUploadDetailBo> detailBos;

    Map<String, List<MbOrgInfo>> orgIdGroupMap;

    @Data
    public static class CostCenterUploadDetailBo {

        private String taskNo;

        private String orgId;

        private String costCenterCode;

        private String costCenterName;

        private Integer line;

        private String createDate;

        private String filedReason;

        /**
         * 组织业务Code
         */
        private String businessCode;

        /**
         * 成本中心生效开始时间
         */
        private Date validStartDate;
        /**
         * 成本中心失效结束时间
         */
        private Date validEndDate;
        /**
         * 适用部门
         */
        private List<String> applicationDepartmentList;
    }
}


